package com.auxgroup.hr.front.service.personnal;

import java.util.List;

import com.auxgroup.hr.front.dao.domain.PsEmplPhoto;
import com.auxgroup.hr.front.dao.domain.EmplPhotoPrimary;

/**
 * 工作历史信息
 * @version 创建时间：180526 
 * @author lvliuhao
 *
 */
public interface EmplPhotoService {
	/**
	 * 获取工作历史信息
	 * 
	 * @param EmplPhotoPrimary
	 * @return
	 */
	public PsEmplPhoto getEmplPhoto(EmplPhotoPrimary emplPhotoPrimary);
	
	
	/**
	 * 根据byte 转换图片到本地
	 * @param EmplPhoto
	 * @return
	 */
	public String buildEmplPhoto(PsEmplPhoto EmplPhoto);
	
	/**
	 * 保存
	 * @param PsEmplPhoto
	 * @return
	 */
	public PsEmplPhoto save(PsEmplPhoto EmplPhoto);
	
	/**
	 * 删除
	 * @param emplPhotoPrimary
	 * @return
	 */
	public Boolean delete(EmplPhotoPrimary emplPhotoPrimary);
	
	/**
	 * 获取全部PsEmplPhoto
	 * @param emplId
	 * @return
	 */
	public List<PsEmplPhoto> getAll(String emplid);
	
}
